import * as types from '../../mutation-types/b2c-orders/index';

const state = {
    ordersList: [],
    currentPage: 1,
    total: 0
};

const mutations = {
    [types.ORDERSLIST] (state, {ordersList}) {
        state.ordersList = ordersList;
    }
};

export default {
  state,
  mutations
};
